import { lazy } from "react"

const PageA = lazy(()=> import(/* webpackChunkName: "PageA" */ "@views/PageA") )
const PageB = lazy(()=> import(/* webpackChunkName: "PageB" */ "@views/PageB"))
const routerMap = [
    {
        path: '/',
        componet: PageA
    },
    {
        path: '/page-b',
        componet: PageB
    }
]
export default routerMap